package com.jhws.core.push;

import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Service
public class IosPushyMap {
    private Map<String,IosApnsPushy> maps;

    public IosPushyMap() {
        this.maps = new HashMap<>();
    }

    public IosApnsPushy get(String name){
        return maps.get(name);
    }

    public void set(String name,IosApnsPushy pushy){
        maps.put(name,pushy);
    }
}
